Skip to content

tools: js2c-cache#4777

Closed
indutny wants to merge 4 commits intonodejs:masterfrom
indutny:feature/code-cache
Closed

tools: js2c-cache#4777
indutny wants to merge 4 commits intonodejs:masterfrom
indutny:feature/code-cache

Conversation

@indutny
Copy link
Member

@indutny indutny commented Jan 20, 2016

Use V8 Code caching when host_arch == target_arch. This commit may
slightly improve startup time, and definitely improves require times
(when doing many of them).

For example, executing following file:

var fs = require('fs');
var http = require('http');
var https = require('https');
var path = require('path');
var util = require('util');

Takes: ~74ms on master
Takes: ~54ms with this commit

Number were taken on OS X with 64-bit node.js binaries.

cc @nodejs/collaborators @nodejs/v8

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-minor PRs that contain new features and should be released in the next minor version. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.